package com.hxx.dao;

import com.hxx.pojo.Member;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MemberMapper {
    Member getMemberBynameAndPwd(Member sysmember);

    Member  getMemberByname(String name);

    List<Member> getAllMembers(@Param("name") String name);

    Member getMemberById (@Param("id") Integer id);

    int addMember (Member sysmember);

    int editMember (Member sysmember);

    int deleteMemberById (@Param("id") Integer id);

    int deleteMemberAll(@Param("ids") List<String> ids);


}